#!/bin/bash

if [ "`basename $0`" = "logto" ];then
    cmd=ssh
elif [ "`basename $0`" = "sfto" ];then
    cmd=sftp
fi
case "$1" in
    "build03")
        $cmd qrdmengmeng@qrd-build03
        ;;
    "anpu")
        $cmd anpu@10.231.203.24
        ;;
    "wkstn")
        $cmd mengmeng@10.231.205.112
        ;;
     "daily")
        $cmd fangpan@10.231.203.20
        ;;
esac
